console.log('诺男么么哒');
function loginOut() {
    //layer.load(0, {shade: false,time:2000});
    layer.confirm('确定退出码？', {
        time: 20000, //20s后自动关闭
        btn: ['确定', '点错了'] //按钮
    }, function () {
        $.get('userapi/logout', {}, function (data) {
            data = JSON.parse(data);
            layer.msg(data.msg, {icon: 1});
            window.location.reload();
        },'json');
    });

}


void function () {

}();